package com.mgg.common.messaging;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * 发送短信的消息通道。
 * payment -> order
 */
public interface SmsSendProcessor {
	
	String INPUT = "smssend_input";

    String OUTPUT = "smssend_output";

    @Output(SmsSendProcessor.OUTPUT)
    MessageChannel output();

    @Input(SmsSendProcessor.INPUT)
    SubscribableChannel input();
}
